package com.jn.exam.question.mapper;

import com.jn.exam.question.entity.PaperQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 江南大学1033190417
 * @since 2022-02-06
 */
public interface PaperQuestionMapper extends BaseMapper<PaperQuestion> {

    boolean exchangeLocationById(Map<String, Object> param);


    List<PaperQuestion> takeOneExam(Map<String, Object> param);

    List<PaperQuestion> markingStudentPaper(Map<String, Object> param);

    Integer getExamStudentMarkStatus(Map<String, Object> param);

    boolean updateExamStudentStatus(Map<String, Object> param);
}
